Skip to content

perf: add readiness and health probes #414

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 26, 2023

Conversation

dimakis
Copy link
Contributor

@dimakis dimakis commented Jun 16, 2023

@dimakis dimakis force-pushed the addition-liveness-and-readiness-probes branch 2 times, most recently from 1878951 to 2e817ae Compare June 16, 2023 14:24
z103cb
z103cb previously approved these changes Jun 16, 2023
Copy link
Contributor

@z103cb z103cb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link
Contributor

@z103cb z103cb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upon further investigation of the build failure, I think this PR needs a bit more attention. Please look into this failure:

2023/06/19 14:18:45 CustomResourceDefinition:/schedulingspecs.mcad.ibm.com created
    logger.go:42: 14:18:46 |  | running command: [kubectl apply -f test/e2e-kuttl/install-quota-subtree.yaml]
    logger.go:42: 14:18:46 |  | quotasubtree.ibm.com/context-root created
    logger.go:42: 14:18:46 |  | quotasubtree.ibm.com/service-root created
    logger.go:42: 14:18:46 |  | quotasubtree.ibm.com/context-root-children created
    logger.go:42: 14:18:46 |  | quotasubtree.ibm.com/service-root-children created
    logger.go:42: 14:18:46 |  | running command: [sh -c helm upgrade  --install mcad-controller deployment/mcad-controller --skip-crds --namespace kube-system --wait --set loglevel=${LOG_LEVEL} --set resources.requests.cpu=1000m --set resources.requests.memory=1024Mi --set resources.limits.cpu=4000m --set resources.limits.memory=4096Mi --set image.repository=$IMAGE_REPOSITORY_MCAD --set image.tag=$IMAGE_TAG_MCAD --set image.pullPolicy=$MCAD_IMAGE_PULL_POLICY --set configMap.quotaEnabled='"true"' --set quotaManagement.rbac.apiGroup=ibm.com --set quotaManagement.rbac.resource=quotasubtrees  --set configMap.name=mcad-controller-configmap --set configMap.preemptionEnabled='"true"']
    logger.go:42: 14:18:47 |  | WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /home/travis/gopath/src/github.com/project-codeflare/multi-cluster-app-dispatcher/kubeconfig
    logger.go:42: 14:18:47 |  | WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /home/travis/gopath/src/github.com/project-codeflare/multi-cluster-app-dispatcher/kubeconfig
    logger.go:42: 14:18:47 |  | Release "mcad-controller" does not exist. Installing it now.
    logger.go:42: 14:18:47 |  | Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(Deployment.spec.template.spec.containers[0]): unknown field "livesnessProbe" in io.k8s.api.core.v1.Container
    harness.go:513: cleaning up
    harness.go:570: removing temp folder: ""
    harness.go:595: fatal error running commands: exit status 1

@dimakis dimakis force-pushed the addition-liveness-and-readiness-probes branch from e775b82 to cc6e404 Compare June 20, 2023 11:01
@dimakis dimakis force-pushed the addition-liveness-and-readiness-probes branch from cc6e404 to f6cbfe7 Compare June 22, 2023 08:27
@dimakis dimakis merged commit f62b436 into main Jun 26, 2023
@dimakis dimakis deleted the addition-liveness-and-readiness-probes branch June 26, 2023 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants